# -*- coding: utf-8 -*-
from requests import get
class ip_randm_get(object):

    def __init__(self):
        self.addr="http://127.0.0.1:5000/get"
        self.ip=""




    def Take_one_ip(self):
        One_addr=get(self.addr).text
        self.ip='http://'+One_addr
# def chaoms_ip():
#     ip_ran=ip_randm_get()
#     ip_ran.Take_one_ip()
#     print(ip_ran.ip)



